package com.pureut.quality.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pureut.quality.domain.AuditNonconformity;
import com.pureut.quality.domain.ProductDocument;
import com.pureut.quality.domain.dto.AuditNonconformityDto;
import com.pureut.quality.domain.dto.ProductDocumentDetailsDto;
import com.pureut.quality.domain.dto.ProductDocumentDto;
import com.pureut.quality.domain.vo.AuditNonconformityVo;
import com.pureut.quality.domain.vo.ProductDocumentVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/***
 * 评审管理
 * Author:C
 * Date:2023/01/19 17:16
 * @DESC
 */
@Mapper
public interface ProductDocumentMapper extends BaseMapper<ProductDocument> {

    /**
     * 查询评审管理列表
     * @param auditNonconformityVo
     * @return
     */
    List<ProductDocumentDto> selectProductDocumentList(ProductDocumentVo auditNonconformityVo);

    /**
     * 查看评审管理
     * @param id
     * @return
     */
    ProductDocumentDto getInfo(Long id);

    /**
     * 查询评审明细
     * @param id
     * @return
     */
    List<ProductDocumentDetailsDto> selectDetailsList(Long id);

}
